package com.ruoyi.womp.domain.mongo;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.MongoId;

@Document("womp_alarm_data")
public class WompAlarm {
	@MongoId
	private String id;

	@Field("waCode")
	private String waCode;

	@Field("code")
	private String code;

	@Field("orderNum")
	private Integer orderNum;

	@Field("time")
	private String time;

	@Field("value")
	private Double value;

	@Field("message")
	private String message;

	@Field("type")
	private Integer type;

	@Field("state")
	private Integer state;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getWaCode() {
		return waCode;
	}

	public void setWaCode(String waCode) {
		this.waCode = waCode;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}